# Copyright (c) 2023, Arm Limited and Contributors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_library(mbedtls-mock
    src/ctr_drbg.c
    src/entropy.c
    src/pk.c
    src/pkparse.c
    src/ssl_msg.c
    src/ssl_tls.c
    src/threading.c
    src/x509_crt.c
)

target_include_directories(mbedtls-mock
    PUBLIC
        ../include
        inc
)

target_link_libraries(mbedtls-mock
    PRIVATE
        fff
        cmsis-rtos-api-mock
)
